import Vue from 'vue'
import Vuex from 'vuex'
//导入模块
import user from './user.js'
import information from './information.js';
import message from './message.js';
import jmStore from './jmStore.js'
import getters from './getters.js'
Vue.use(Vuex)

const store = new Vuex.Store({
	getters,
	modules: {
		//注册模块
		user,
		information,
		message,
		jmStore,
	}
})
export default store
